home *** CD-ROM | disk | FTP | other *** search
- SAMPLE DEVICE DRIVER (VDSK) INSTRUCTIONS
-
- These instructions are for the Sample Device Driver shown
- on pages 14-27 through 14-34 of the DOS 2.0 Manual. The source
- code is located on the Assembler Language BBS: (703) 425-7229.
-
- 1. Assemble and Link the source code.
- 2. Use the DOS EXE2BIN to convert the .EXE file produced
- by the DOS LINK program to create the filename you
- desire.
-
- example: we assembled - a program called
- VDSK.ASM and used the VDSK.OBJ
- as input to the LINK to produce
- THE VDSK.EXE FILE.
- NOW: A>EXE2BIN VDSK.EXE VDSK.COM
- (This will produce the COM file
- we will use next.)
-
- When DOS 2.0 boots, it will look for a file on the disk we are
- booting from named 'CONFIG.SYS' if it finds it there it expects it
- to contain the names of the device drivers we want to use while run-
- ning DOS. So we can use EDLIN or another editor to produce a file
- called 'CONFIG.SYS' that will consist of one record that will contain
- our device driver. On page 9-7 in the DOS 2.0 Manual you will find
- the format of the 'DEVICE' Command.
-
- So, our file will consist of a record that looks like:
-
- DEVICE=VDSK.COM
-
- and that is all we need. Our CONFIG.SYS file has the name of
- our device driver (VDSK.COM) and make sure our VDSK.COM is on the
- Booting disk. If you want to have the VDSK.COM on another diskette
- just insert the disk designator into the name, (device=b:vdsk.com)
-
- Now we have to reboot DOS so that DOS can find CONFIG.SYS
- and install our driver. You probably won't see DOS do it so when
- DOS quiets down do a 'chkdsk c:' and you should see it out there.
-
- If you have problems, give me a call and we will see if
- we can get you on the right track. Either leave me a message on
- this bbs or call (703) 425-6308 (BOB BLACKWELL).
-
- HAVE FUN.....
-